.role-management-container {
  padding: 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input {
  width: 300px;
}

.role-table {
  width: 100%;
  margin-bottom: 20px;
}

.pagination-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.permission-groups {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.permission-group {
  margin-bottom: 15px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.permission-group-label {
  background-color: #f5f5f5;
  padding: 8px 12px;
  font-weight: bold;
  border-bottom: 1px solid #f0f0f0;
}

.permission-options {
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.delete-warning {
  color: #f56c6c;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .search-container {
    flex-direction: column;
  }

  .search-input {
    width: 100%;
  }
}